package java68_4;

public class MobilePhone {
    String series;
    int price;
    String color;
    //手机需要一块电池
    Battery batt;//=new Battery();

    public void show(){
        System.out.println("这个手机的型号是"+series);
        System.out.println("颜色是"+color+",价格是"+price+"元");
        System.out.println("电池信息如下:");
        // System.out.println("牌子是"+batt.brand+",容量是"+batt.mA+"毫安");
        batt.show();
    }
}
